package com.usian.service;

import com.usian.pojo.TbItem;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author chen
 * @date 2021/1/26 - 22:26 - 星期二
 * @project usian_parent
 * @package com.usian.service
 * @by GGbomd猪猪侠
 */
@Component
public interface CartService {
    Boolean insertCart(String userId, Map<String, TbItem> cart);

    Map<String, TbItem> selectCartByUserId(String userId);
}
